Verify that the value is not null.
UnitTestException on failure
1 class Foo { 2 this(int i) { 3 this.i = i; 4 } 5 6 override string toString() const { 7 import std.conv : to; 8 9 return i.to!string; 10 } 11 12 int i; 13 } 14 15 shouldNotBeNull(new Foo(4));
See Implementation
Verify that the value is not null.